package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * �û���Ϣ�� Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2023-10-16
 *
 */
@Repository
public interface UserInfoMapper extends BaseMapper<UserInfo> {
     List<UserInfo> getAllStuUsers();
    List<UserInfo> findUserByPageAndLimit(Integer page, Integer limit);
    Integer addUser(@Param("AddUsers") UserInfo users);

    Integer deleteStudents( String[] ids);

    List findStudentBy(@Param("select") String select);

    UserInfo stuLogin(String phone, String password);

    List findStudentConsultInfo(String id);
}
